<!DOCTYPE html>
<html lang="en"xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="multipart/form-data; charset=utf-8" />
    <title>首页</title>
    <script  src="../../static/layui/layui.js" data-th-src="@{/layui/layui.js}"></script>
    <link rel="stylesheet"  data-th-href="@{/layui/css/layui.css}" href="../../static/layui/css/layui.css" >
    <style>

        .layui-breadcrumb{
            line-height: 30px;
        }
    </style>
</head>
<body>
<form  method="post" class="layui-form" data-th-action="@{/insertSch}" enctype="multipart/form-data">
    <div class="layui-form-item">
        <label class="layui-form-label">大学名称：</label>
        <div class="layui-input-inline">
            <input type="text" name="coName"   placeholder="请输入大学名称" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">大学简介：</label>
        <div class="layui-input-block">
            <input type="text" name="coIntroduction" required  lay-verify="required" placeholder="请输入大学简介" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">所在省份：</label>
        <div class="layui-input-inline">
            <input type="text" name="coPrid"   placeholder="请输入所在省份" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">所在城市：</label>
        <div class="layui-input-inline">
            <input type="text" name="coCity"   placeholder="请输入所在城市" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">院校类型</label>
        <div class="layui-input-block">
            <select name="coCategory" >
                <option value=""></option>
                <option value="工科">工科</option>
                <option value="语言">语言</option>
                <option value="综合">综合</option>
                <option value="医药">医药</option>
                <option value="体育">体育</option>
                <option value="财经">财经</option>
                <option value="艺术">艺术</option>
                <option value="民族">民族</option>
                <option value="师范">师范</option>
                <option value="林业">林业</option>
                <option value="农业">农业</option>
                <option value="政法">政法</option>
                <option value="军事">军事</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">院校层次</label>
        <div class="layui-input-block">
            <input type="radio" name="coLevel" value="本科" title="本科">
            <input type="radio" name="coLevel" value="专科" title="专科" checked>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">院校特征</label>
        <div class="layui-input-block">
            <input type="radio" name="coFeatures" value="985" title="985">
            <input type="radio" name="coFeatures" value="211" title="211" checked>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">办学类型</label>
        <div class="layui-input-block">
            <input type="radio" name="coType" value="公办" title="公办">
            <input type="radio" name="coType" value="私立" title="私立" checked>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">官方网站：</label>
        <div class="layui-input-block">
            <input type="text" name="coWebsite"   lay-verify="required" placeholder="请输入官方网站" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">批次</label>
        <div class="layui-input-block">
            <input type="radio" name="coBatch" value="本科一批" title="本科一批">
            <input type="radio" name="coBatch" value="本科二批" title="本科二批">
            <input type="radio" name="coBatch" value="本科三批" title="本科三批" checked>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">大学排名：</label>
        <div class="layui-input-inline">
            <input type="number" name="coRanking"   placeholder="请输入大学排名" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">博士点数量：</label>
        <div class="layui-input-inline">
            <input type="number" name="coDoctor"   placeholder="请输入博士点数量" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">硕士点数量：</label>
        <div class="layui-input-inline">
            <input type="number" name="coMaster"   placeholder="请输入硕士点数量" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">图片ID：</label>
        <div class="layui-input-block">
            <input type="number" name="coIid">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">图片上传：</label>
        <div class="layui-input-block">
            <input type="file" name="file">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>

</form>

<script data-th-inline="javascript">
    //Demo
    layui.use(['form','jquery'], function(){
        let {form,$} = layui;

    });
</script>
</body>
</html>